import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PersonListComponent } from './person-info/person-list/person-list.component';
import { ManageListComponent } from './manage-person/manage-list/manage-list.component';
import { AccessListComponent } from './access-records/access-list/access-list.component';
import { FocusPersonnelComponent } from './focus-personnel/focus-personnel.component';
import { FocusPersonnelRecordComponent } from './focus-personnel-record/focus-personnel-record.component';

const routes: Routes = [
  {path: 'person-info', component: PersonListComponent},
  {path: 'manage-person', component: ManageListComponent},
  {path: 'access-records', component: AccessListComponent},
  {path: 'focus-personnel', component: FocusPersonnelComponent},
  {path: 'focus-personnel-record', component: FocusPersonnelRecordComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class PersonManageRoutingModule { }
